package com.yq.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yq.reggie.pojo.ShoppingCart;

public interface ShoppingCartService extends IService<ShoppingCart> {
    /**
     *  添加菜品或套餐到购物车
     * @param shoppingCart
     */
    public void add(ShoppingCart shoppingCart);

    /**
     * 减少购物车里的菜品或套餐
     * @param shoppingCart
     */
    public void sub(ShoppingCart shoppingCart);
}
